
/**
 * A bet that a user places on a game.
 */
public class Bet implements Score {

    private Game Game;
    private User User;

    /**
     * Create a new bet for a user with a guessed guest and home team score
     */
    Bet(User user, Game game, int homeTeamScore, int guestTeamScore) {
        this.User = user;
        this.Game = game;
        this.GuestTeamScore = guestTeamScore;
        this.HomeTeamScore = homeTeamScore;
    }

    /**
     * Associated game
     *
     * @return Associated Game
     */
    public Game getGame() {
        return Game;
    }

    /**
     * User that placed bet
     *
     * @return Associated Game
     */
    public User getUser() {
        return User;
    }
    private int HomeTeamScore;

    /**
     * Score of the home team
     *
     * @return Home team score
     */
    @Override
    public int getHomeTeamScore() {
        return HomeTeamScore;
    }
    private int GuestTeamScore;

    /**
     * Score of guest team
     *
     * @return Guest team score
     */
    @Override
    public int getGuestTeamScore() {
        return GuestTeamScore;
    }

    public int getPoints() {
        return -1;
    }
}
